<?php
class Vtt extends CI_Controller{
	var $title=array(
			"race"=>"menu_vtt_key_title",
			"title"=>"menu_vtt_key_sub_title",
			"date"=>"menu_vtt_key_date"
	);
	var $menu=array(
			"menu_key_home"=>"/nobressart/index.php/courses/vtt/index",
			"menu_key_access"	=>"/nobressart/index.php/courses/vtt/acces",
			"menu_key_contact"=>"/nobressart/index.php/courses/vtt/contact"
	);
	
	public function getMenu(){
		return $this->menu;
	
	}
	public function getTitle(){
		return $this->title;
	}
	// ---------------------------- ACTION
	public function index(){
		$data['title']="Vtt - aux sources de l'attert";
		$data['date']="8 septembre 2013 à 7h30";
		$data['menu']=$this->menu;
		
		$this->render($data,"courses/vtt/vtt_view");	
	}
	public function acces(){
		$data['title']="Vtt - aux sources de l'attert";
		$data['date']="8 septembre 2013 à 7h30";
		$data['menu']=$this->menu;
	
		$this->render($data,"commons/acces_view");
	}
	public function contact(){
		$data['title']="Vtt - aux sources de l'attert";
		$data['date']="8 septembre 2013 à 7h30";
		$data['menu']=$this->menu;
	
	$this->render($data,"commons/contact_view");
	}
}